package org.example.Day9;

import java.io.FileWriter;
import java.util.Properties;

public class PropertiesTest2 {
    public static void main(String[] args)throws Exception{
        Properties properties = new Properties();
        properties.setProperty("张无忌","minmin");
        properties.setProperty("殷素素","cuishan");
        properties.setProperty("张翠山","susu");

        properties.store(new FileWriter("D:/AAAA暑期实训/level2/src/users.properties")
        ,"i saved many users!");
    }
}
